Anillo 3 - Original

An interactive fiction by Mel Hython (2009) - the Inform 7 source text

Home page

Contents
Previous
Next

Complete text
Section 2 - Deavork

[--------------------------------------------------

El deavork vivo

--------------------------------------------------]
A deavork is a movil. It is in Pantano22.
The printed name of deavork is "[if carga del insecto is greater than 199]deavork muy hinchado[otherwise if carga del insecto is greater than 99]deavork apreciablemente hinchado[otherwise if carga del insecto is greater than 49]deavork algo hinchado[otherwise]deavork[end if]".
The description of the deavork is "Este sucio insecto de los pantanos siempre está hambriento, y puede comerse prácticamente cualquier cosa que pueda caberle en la boca y... su boca puede dilatarse (como el resto de su cuerpo) de una forma increíble. Lo mejor es no estar demasiado tiempo junto a él o devorará a tu portador.[if carga del insecto is greater than 199] Está hinchado, como si fuese a reventar.[otherwise if carga del insecto is greater than 99] Se mueve pesadamente como si hubiese comido demasiado.[otherwise if carga del insecto is greater than 49] Parece que lleva la barriga llena con algo.[end if]".

The deavork can be enterrando. The deavork is not enterrando.

The estomago del deavork is a room.

Escupidos is a list of things that varies. Escupidos is {}.

[ Este monstruo se come todo lo que no está fijo... a veces...]
Definition: a thing is dcomible if it is not fixed in place and it is not the player and it is not a movil and it is not a posible jugador and it is not listed in escupidos.

Every turn:
    [say "Ein [the location of deavork]...";
    say "Cosas: [list of things in the location of deavork].";]
    if there is a dcomible thing (called comida) in the location of the deavork and the location of the deavork is not Pantano18 and (a random chance of 1 in 2 succeeds or comida is a cadaver):
        let ac be carga del insecto;
        move the comida to estomago del deavork;
        let nc be carga del insecto;
        let sehincha be 0;
        if ac is less than 49 and nc is greater than 48:
            change sehincha to 1;
        if ac is less than 99 and nc is greater than 98:
            change sehincha to 1;
        if ac is less than 199 and nc is greater than 198:
            change sehincha to 1;
        if the deavork is visible:
            say "El espantoso insecto, el deavork, devora [the comida].[if tamano of comida is grande or tamano of comida is enorme][line break]Para poder lograrlo su mandíbula se desencaja de forma esperpéntica y su boca se agranda de forma terrorífica.[end if][if sehincha is 1][line break]Un sonido espeluznante de escamas quitinosas rozando una contra otra, gimiendo, acompaña a un claro incremento del volumen de su cuerpo. ¡Se ha hinchado para hacer espacio a aún más comida![end if]";
            now comida is handled;
            if there is an orco (called espectador) in the location:
                if espectador is not persiguiendo and (the comida is a cadaver or the comida is carne):
                    say "[El espectador] no parece nada contento de ver que el deavork se ha comido [el comida].";
    [Si tiene algo no comestible en la tripa puede que lo expulse y si es comida la 'digiere']
    otherwise:
        if there is a cadaver (called cuerpo) in estomago del deavork:
            if the location of deavork is Pantano18:
                [say "Llegado a Pantano18";]
                now deavork is aimless;
                activate deavork;
                if deavork is visible:
                    say "El deavork hace un enorme esfuerzo, casi como si fuese a reventar. ¿Qué le pasará?.";
                    bnw;
                    if a random chance of 1 in 5 succeeds:
                        say "...¡y realmente explota! ¡Qué asco!";
                        matar al pnj deavork;
                    otherwise:
                        say "...y finalmente escupe [the cuerpo]. ¡Puagh!";
                        move the cuerpo to the location of deavork;
            otherwise if the deavork is aimless:
                [say "Tiempo de enterrar.";]
                now deavork is targeted;
                now the destination of deavork is Pantano18;
        if there is a not edible thing (called basura) in estomago del deavork:
            if basura is a cadaver:
                if the deavork is visible and a random chance of 1 in 3 succeeds:
                    say "El deavork hace un enorme esfuerzo, como si estuviese intentando escupir algo y no pudiese.";
            otherwise if a random chance of 1 in 5 succeeds:
                move basura to the location of deavork;
                if the deavork is visible:
                    say "El deavork, ese insecto de aspecto amenazador, escupe [the basura]. No debe haberlo encontrado digerible.";
                    now basura is handled;
                    add basura to escupidos;
        if there is a edible thing (called comida) in estomago del deavork:
            if a random chance of 1 in 5 succeeds:
                remove comida from play;
        if the location of deavork is Pantano7 and resina is not carried and resina is not visible and resina is not in estomago del deavork:
            [Ahora que no se ve la resina chupar un poco]
            move resina to estomago del deavork;
            if deavork is visible:
                say "El insecto zarandea al arbolillo y parece que se traga alguno de sus glóbulos. Tal vez sean uno de sus alimentos.";
        if deavork is visible and there is a bag of tricks (called bolsa) in the location of deavork:
            if the number of entries of hidden objects of bolsa is not 0 and a random chance of 1 in 5 succeeds:
                say "El insecto rebusca en [the bolsa], como si creyese poder encontrar algo que comer oculto ahí.".